#include "LongLong.h"
#include <iostream>
#include <conio.h>
using namespace std;

int main()
{
	__int64 res = -6498798465987654; 
	cout << res <<endl;
	long h;
	ulong l;
	int64toLongLong(res, h,l);

	res = LongLong2int64(h,l);
	cout << res <<endl;
	_getch();
	return 0;
}